﻿using System.ComponentModel.DataAnnotations;

namespace B.S.Business.Domain
{
    /// <summary>
    /// 采购管理
    /// </summary>
    public class Purchase
    {
        /// <summary>
        /// 采购主键
        /// </summary>
        [Key]
        
        public int PurchaseId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName{ get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string Productcode{ get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specification{ get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitName{ get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Univalence { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal Quantity { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal ExtendedPrice { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDeleted{ get; set; }

    }
}
